{% load i18n %}
{% get_current_language as LANGUAGE_CODE %}
{% get_current_language_bidi as LANGUAGE_BIDI %}

<html xmlns="http://www.w3.org/1999/xhtml" dir="{% if LANGUAGE_BIDI %}rtl{% else %}ltr{% endif %}" lang="{% if LANGUAGE_BIDI %}fa{% else %}en{% endif %}" xml:lang="{% if LANGUAGE_BIDI %}fa{% else %}en{% endif %}">
<head>
{% if LANGUAGE_BIDI %}
	<style type="text/css">
		body {
			direction: rtl;
		}
	</style>
{% endif %}	
</head>
<body>

{% block title %}{% endblock %}

{% block subject %}
<b>{% trans "Subject:" %}</b> {{ subject }}
<br/>
{% endblock %}

{% block body %}
{{ body }}
{% endblock %}

{% block footer %}
{% blocktrans %}The {{ site_name }} team{% endblocktrans %}
{# TODO:: Add Unsubscribe link here! #}
{% endblock %}

</body>
</html>
